import javax.naming.Context;
import javax.naming.InitialContext;

import org.junit.BeforeClass;

import be.ipl.finito.usecases.GestionParticipations;
import be.ipl.finito.usecases.GestionParties;

public class Test_finito {
	private static GestionParties gestionParties;
	private static GestionParticipations gestionParticipations;

	@BeforeClass
	public static void init() throws Exception {
		Context jndi = new InitialContext();
		gestionParties = (GestionParties) jndi
				.lookup("ejb:FinitoEAR/FinitoEJB/GestionPartiesImpl!be.ipl.eBar.usecases.GestionParties");
		gestionParticipations = (GestionParticipations) jndi
				.lookup("ejb:FinitoEAR/FinitoEJB/GestionParticipationsImpl!be.ipl.eBar.usecases.GestionParticipations");
	}

}
